package cn.itsource.pet.controller;

import cn.itsource.basic.util.AjaxResult;
import cn.itsource.pet.domain.SearchMasterMsg;
import cn.itsource.pet.service.IOrderPetAcquisitionService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 宠物订单类
 */
@RestController
@Api(tags = "宠物接单类", description = "宠物接单类")
@RequestMapping("/order")
public class OrderPetAcquisitionController {

    @Autowired
    private IOrderPetAcquisitionService ordreService;

    @RequestMapping("/jieDan")
    public AjaxResult jieDan(@RequestBody SearchMasterMsg msg){

        return ordreService.jieDan(msg);
    }

}
